package myLinkedList;

public class test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.createList();
        myLinkedList.display();
        System.out.println("==========");
        System.out.println(myLinkedList.contains(56));
        System.out.println(myLinkedList.size());
        System.out.println("==========");
        myLinkedList.addFirst(0);
        myLinkedList.addFirst(99);
        myLinkedList.display();
        System.out.println("==========");
        myLinkedList.addLast(99);
        myLinkedList.display();
        System.out.println("==========");
        myLinkedList.addIndex(3,100);
        myLinkedList.display();
        System.out.println("==========");
        myLinkedList.remove(100);
        myLinkedList.display();
        System.out.println("==========");
        myLinkedList.removeAllKey(99);
        myLinkedList.display();
    }
}
